home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 112 / XENIATGM112.iso / Shareware / Fine Reader 5.0 / Tutorial / Listing.tif (.png) < prev    next >
Tagged Image File Format  |  2000-08-10  |  28KB  |  2334x2794
Labels: chat room | reckoner | sky | skyscraper
OCR: #include cob base h> #include KLETRCO. h> #inclide <LF"fRCom C> #inclide <stdio vcia mainint aryc, char* argv[]} //the comand iine must contain the pa'h to the folder, //in wh ch the index he oper red if(argo 2) put "snes f tre path\n"); // WCD librarv initialization HRESUL" res CoIniti ali Zt{C} if(! ISUCCEEDED Yes puts "Error when initalizing COM library\n": return iFTREngi inc* pF TREngine 0: Crea on of new FullText Retr: eval Engine obj ect. CoCreateIns itance (CLSIE ITREngine, CLSCTX NPROC SERVER TTT IFTRFngine (vaid** &rFTRErgine!; if(!SUCCEEDED puts FTREngine object creati or r" CoUninitiali 7A reeurn IInaex" plndex: pFTREng ne- >OpenIndex( &pIndex. argv[l], indexRo: .dWrite: (SUCCEEDED {res} puts indsx CIncexInfo nfa pIncex SndexIrfo(&info): printf( Number documents incex is: ?i\n" ...